using System;
using System.Collections.Generic;
using System.Text;
using Itdavany.Data.XmlFormat;
using Itdavany.Data;

namespace Itdavany.Utility
{
    public interface IObjectConverter
    {   
        ObjectType Type
        {
            get;
        }

        object Convert(ObjectDescription objDesc, ObjectDescriber objDescriber);
        object Convert(ObjectDescription objDesc, ObjectDescriber objDescriber, WidgetFormat parentformat);
    }
}